package com.ws.repository;

import com.github.pagehelper.Page;
import com.ws.entity.OrderItem;
import org.apache.ibatis.annotations.Param;

public interface OrderItemRepository {
    Page<OrderItem> getOrderPage(OrderItem orderItem);

    void saveOrder(OrderItem orderItem);

    OrderItem getOrderBasicInfo(@Param("orderId") Long orderId);

    void delOrder(@Param("orderId") Long orderId);

    void updateOrder(OrderItem orderItem);
}